/*
 * @Description:
 * @Author: 小何
 * @Date: 2021-10-10 13:51:50
 * @LastEditTime: 2021-10-10 13:58:55
 * @LastEditors:
 */
const mysql = require("mysql2");

const connections = mysql.createPool({
  host: "47.98.147.52",
  port: 3306,
  database: "party",
  user: "root",
  password: "root",
});

module.exports = connections.promise();
